package Pinjam;

public class Buku extends pinjam {
    private String noBuku;
    private int maxLamaPinjam=7;
   

public Buku(){}
    public boolean isTerlambat(int lamaPinjam){
        boolean terlambat=false;
        if(getLamaPinjam()>maxLamaPinjam){
            terlambat=true;

        }
        else if(getLamaPinjam()<maxLamaPinjam){
            terlambat=false;
    }
        return terlambat;
    }

    private int getLamaPinjam() {
        throw new UnsupportedOperationException("Not yet implemented");
    }
}
    
  